package com.xbongbong.pro.enums.menu.enums;

import com.xbongbong.i18n.util.I18nMessageUtil;
import lombok.Getter;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2019/1/15 14:40
 * @desrcption 呼叫中心枚举类
 * @since v1.0
 */
@Getter
public enum CallCenterEnum {

    /**
     * 呼叫中心枚举类
     */
    AGENT_MANAGEMENT("enum.callCenter.name.agent_management", "agentManagement", "icon-organization", "/Setting/callCenterAgent"),
    CALL_MANAGEMENT("enum.callCenter.name.call_management", "callManagement", "icon-organization", "/Setting/callCenterSetting"),

    ;

    private String name;

    private String alias;

    private String icon;

    private String url;


    CallCenterEnum(String name, String alias, String icon, String url){
        this.name = name;
        this.alias = alias;
        this.icon = icon;
        this.url = url;
    }

    public String getName() {
        return I18nMessageUtil.getMessage(name);
    }
}
